﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SGRapidForm.Permission.Service.Interface;
using Microsoft.Practices.Unity;
using SGRapidForm.Permission.Component;
using SGRapidForm.Permission.Entity;

namespace SGRapidForm.Permission.Service
{
    public partial class PermissionService : IPermissionService
    {
        [Dependency]
        public HelpComponent HelpComponent
        { get; set; }



        public bool Help_Add(Help help)
        {
            return this.HelpComponent.Help_Add(help);
        }

        public Help Help_GetByKeyid(string keyid)
        {
            return this.HelpComponent.Help_GetByKeyid(keyid);
        }

        public bool Help_Update(Help help)
        {
            return this.HelpComponent.Help_Update(help);
        }

        public bool Help_Delete(string keyid)
        {
            return this.HelpComponent.Help_Delete(keyid);
        }

        public List<Help> Help_PagingGetHelp(int startRecord, int maxRecords, string sortColumns, string filterConditions)
        {
            return this.HelpComponent.Help_PagingGetHelp(startRecord,maxRecords,sortColumns,filterConditions);
        }

        public int Help_PagingGetHelpCount(string filterConditions)
        {
            return this.HelpComponent.Help_PagingGetHelpCount(filterConditions);
        }

        public bool Help_BulkDelete(string keyids)
        {
            return this.HelpComponent.Help_BulkDelete(keyids);
        }


        public List<Help> Help_FilteredGetAll(string filterConditions)
        {
            return this.HelpComponent.Help_FilteredGetAll(filterConditions);
        }
    }
}
